import request from './request.js'

export function getUserDetailInfo (uid) {
  return request.get('/user/detail', {
    params: {
      uid: uid
    }
  })
}

export function getUserEventList (uid) {
  return request.get('/user/event', {
    params: {
      uid: uid
    }
  })
}

export function getUserFollowsList (uid) {
  return request.get('/user/follows', {
    params: {
      uid: uid
    }
  })
}

export function getUserFollowedsList (uid) {
  return request.get('/user/followeds', {
    params: {
      uid: uid
    }
  })
}
